package com.filepublic.demo.server.service;

import com.filepublic.demo.pojo.dto.FileSureDto;
import com.filepublic.demo.pojo.vo.FileDownloadVo;
import com.filepublic.demo.pojo.vo.FileSureVo;
import com.filepublic.demo.pojo.vo.ImageVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface FileService {
    void bigFileUpload(MultipartFile file, Integer fileIndex, String fileId) throws IOException;

    FileSureVo bigFileSure(FileSureDto fileSureDto);

    FileDownloadVo bigFileDownload(String fileId, Integer fileIndex) throws IOException;

    ImageVo imageUpload(MultipartFile file) throws IOException;
}
